﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserView.Master" AutoEventWireup="true" CodeBehind="UserCart.aspx.cs" Inherits="Web.UserCart" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Content/Css/UserCart.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container">
        <div class="cart_box">
            <table class="table table-hover" id="table">
                <tr>
                    <th>商品信息</th>
                    <th>单价</th>
                    <th>数量</th>
                    <th>小计</th>
                    <th>操作</th>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr class="item">
                            <td>
                                <img src='Content/Images/Goods/<%#Eval("GoodsPic") %>' alt="Alternate Text" />
                                <span class="name"><%#Eval("GoodsName") %></span>
                            </td>
                            <td>
                                <span class="price">&yen;<%#Eval("GoodsPrice") %>
                                </span>
                            </td>
                            <td>
                                <span class="nums">
                                    <%#Eval("nums") %>
                                </span>
                            </td>
                            <td>
                                <span class="littlePrice">&yen;<%#Eval("littlePrice") %>
                                </span>
                            </td>
                            <td>
                                <asp:Button class="btn_delete" ID="Button1" runat="server" CommandArgument='<%#Eval("GoodsID") %>' OnClick="Button1_Click"  OnClientClick="return confirm('是否确认删除？')" Text="删除" />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <div class=" btn-box">
                选择物流：<asp:DropDownList ID="DropDownList1" runat="server"></asp:DropDownList>
                <asp:Button class="btn_2" ID="Button2"  OnClientClick="return confirm('是否确认购买？')" runat="server" OnClick="Button2_Click" Text="结算" />
            </div>
        </div>
    </div>
</asp:Content>
